package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 再保公司账户表
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_re_insurance_company_account")
@ApiModel(value = "CgnciReInsuranceCompanyAccountDO对象", description = "再保公司账户表")
public class CgnciReInsuranceCompanyAccountDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("公司ID")
    private Long companyId;

    @ApiModelProperty("收款人账户名称")
    private String accountName;

    @ApiModelProperty("开户银行")
    private String bankName;

    @ApiModelProperty("银行地址-省")
    private String bankProvince;

    @ApiModelProperty("银行地址-省code")
    private String bankProvinceCode;

    @ApiModelProperty("银行地址-市")
    private String bankCity;

    @ApiModelProperty("银行地址-市code")
    private String bankCityCode;

    @ApiModelProperty("银行地址-区")
    private String bankDistrict;

    @ApiModelProperty("银行地址-区code")
    private String bankDistrictCode;

    @ApiModelProperty("银行地址-详细")
    private String bankAddress;

    @ApiModelProperty("银行账号")
    private String bankAccount;

    @ApiModelProperty("币种,码表值:currency")
    private String currency;

    @ApiModelProperty("账户类型(1-再保),码表值:accountType")
    private String accountType;

    @ApiModelProperty("是否生效(1-是, 0-否),码表值:isYes")
    private String isEffective;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    @TableField(update = "now()")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
